<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "https://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta http-equiv="Content-Language" content="zh-CN"><link href="stylesheet.css" media="all" rel="stylesheet" type="text/css">
<title>接口支持函数</title>
<script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?d286c55b63a3c54a1e43d10d4c203e75"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script>
</head><body class="SECT1">
<div>
<table summary="Header navigation table" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><th colspan="5" align="center" valign="bottom">PostgreSQL 8.2.3 中文文档</th></tr>
<tr><td width="10%" align="left" valign="top"><a href="spi-spi-saveplan.html" accesskey="P">后退</a></td><td width="10%" align="left" valign="top"><a href="spi.html">快退</a></td><td width="60%" align="center" valign="bottom">章41. 服务器编程接口</td><td width="10%" align="right" valign="top"><a href="spi.html">快进</a></td><td width="10%" align="right" valign="top"><a href="spi-spi-fname.html" accesskey="N">前进</a></td></tr>
</table>
<hr align="LEFT" width="100%"></div>
<div class="SECT1"><h1 class="SECT1"><a name="SPI-INTERFACE-SUPPORT">41.2. 接口支持函数</a></h1>
<div>
<dl>
<dt><b>目录</b></dt>
<dt><a href="spi-spi-fname.html">SPI_fname</a>&nbsp;--&nbsp;从指定的字段编号判断字段名字</dt>
<dt><a href="spi-spi-fnumber.html">SPI_fnumber</a>&nbsp;--&nbsp;判断声明字段名的字段编号</dt>
<dt><a href="spi-spi-getvalue.html">SPI_getvalue</a>&nbsp;--&nbsp;返回声明字段的字符串值</dt>
<dt><a href="spi-spi-getbinval.html">SPI_getbinval</a>&nbsp;--&nbsp;返回声明字段的二进制值</dt>
<dt><a href="spi-spi-gettype.html">SPI_gettype</a>&nbsp;--&nbsp;返回声明字段的数据类型名</dt>
<dt><a href="spi-spi-gettypeid.html">SPI_gettypeid</a>&nbsp;--&nbsp;返回声明字段的数据类型 OID</dt>
<dt><a href="spi-spi-getrelname.html">SPI_getrelname</a>&nbsp;--&nbsp;返回声明关系的名字</dt>
<dt><a href="spi-spi-getnspname.html">SPI_getnspname</a>&nbsp;--&nbsp;返回声明关系的名字空间</dt>
</dl>
</div>
<p>这里描述的函数提供了从 <code class="FUNCTION">SPI_execute</code> 返回的结果集以及其它 SPI 接口函数中抽取信息的便利的接口。</p>
<p>所有本节描述的函数都可以用于已连接和未连接的过程。</p>
</div>
<div>
<hr align="LEFT" width="100%">
<table summary="Footer navigation table" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td width="33%" align="left" valign="top"><a href="spi-spi-saveplan.html" accesskey="P">后退</a></td><td width="34%" align="center" valign="top"><a href="index.html" accesskey="H">首页</a></td><td width="33%" align="right" valign="top"><a href="spi-spi-fname.html" accesskey="N">前进</a></td></tr>
<tr><td width="33%" align="left" valign="top">SPI_saveplan</td><td width="34%" align="center" valign="top"><a href="spi.html" accesskey="U">上一级</a></td><td width="33%" align="right" valign="top">SPI_fname</td></tr>
</table>
</div>
</body></html>